package org.example.helloworld.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pre_pay")
public class History {

    @TableId("pre_id")
    private String preId;

    @TableField("user_id")
    private String userId;

    @TableField("username")
    private String username;

    @TableField("pr_num")
    private String pay;

    @TableField("nbalance")
    private String prepayment;

    @TableField("new_balance")
    private String balance;

    @TableField("type")
    private String type;

    @TableField("pr_paytime")
    private String time;

    public String getpreId() {
        return preId;
    }

}
